package com.lc.luzhengtang.conn;

import android.util.Log;

import com.google.gson.Gson;
import com.lc.luzhengtang.bean.ForgetBean;
import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONObject;

/**
 * Created by Administrator on 2017/4/17.
 */
@HttpInlet(Conn.REGISTER_COMPLANIT)
public class ConnComplant extends BaseAsyPost<ForgetBean>{

    public String mobile,content;


    public ConnComplant(String mobile, String content, AsyCallBack<ForgetBean> asyCallBack) {
        super(asyCallBack);
        this.mobile=mobile;
        this.content=content;


    }

    @Override
    protected ForgetBean parser(JSONObject object) throws Exception {
        Log.d(object.toString(),"aaaaaaaaaaaaaaaaa");

        Gson gson=new Gson();

        ForgetBean loginBean=new ForgetBean();

        loginBean=gson.fromJson(object.toString(),ForgetBean.class);


        return loginBean;




    }
}



